From: djm@kirby.fc.hp.com Date: Wed, 21 Sep 2005 20:13:07 +0000 (-0600) Subject: Another fix for handling ar.kr's X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16784 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1be9af6e37e1ca5ed512334655765ab24dd91745;p=xen.git Another fix for handling ar.kr's --- diff --git a/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h b/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h index 083672d1fd..3d245fff8c 100644 --- a/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h +++ b/linux-2.6-xen-sparse/include/asm-ia64/xen/privop.h @@ -94,7 +94,7 @@ extern void xen_set_eflag(unsigned long); /* see xen_ia64_setreg */ }) // for now, just use privop. may use hyperprivop later -#define xen_set_kr(regnum,val) (__ia64_setreg(regnum,val)) +/*#define xen_set_kr(regnum,val) (__ia64_setreg(regnum,val)) */ /* turning off interrupts can be paravirtualized simply by writing * to a memory-mapped virtual psr.i bit (implemented as a 16-bit bool) */ @@ -193,8 +193,9 @@ extern unsigned long xen_get_rr(unsigned long index); ({ \ switch(regnum) { \ case _IA64_REG_AR_KR0 ... _IA64_REG_AR_KR7: \ - (running_on_xen) ? \ - xen_set_kr((regnum-_IA64_REG_AR_KR0), val) : \ +/* for now, just use privop. may use hyperprivop later */ \ +/* (running_on_xen) ? \ + xen_set_kr((regnum-_IA64_REG_AR_KR0), val) : */ \ __ia64_setreg(regnum,val); \ break; \ case _IA64_REG_CR_ITM: \